#include <stdio.h>

void ShowDayWeek(int dow);

int main()
{
    int w;
    scanf("%d", &w);
    ShowDayWeek(w);
    putchar('\n');
    return 0;
}

/* 你提交的代码将被嵌在这里 */
void ShowDayWeek(int dow)
{
    switch (dow)
    {
    case 0:
        printf("日");
        break;
    case 1:
        printf("一");
        break;
    case 2:
        printf("二");
        break;
    case 3:
        printf("三");
        break;
    case 4:
        printf("四");
        break;
    case 5:
        printf("五");
        break;
    case 6:
        printf("六");
        break;
    }
};
